package tests;

import java.util.ArrayList;

import org.junit.Test;

import org.junit.Assert;
import modelo.*;



public class TestGradoState {
	
	@Test
	public void testTiempoConsumidoPorRecibirHerida(){
		
		GradoStateNovato unNovato = new GradoStateNovato();
		Assert.assertEquals(0, unNovato.tiempoDeRecuperoDeHerida());
		GradoStateInvestigador unInvestigador = new GradoStateInvestigador();
		Assert.assertEquals(unInvestigador.tiempoDeRecuperoDeHerida(), 2);
		GradoStateDetective unDetective = new GradoStateDetective();
		Assert.assertEquals(2, unDetective.tiempoDeRecuperoDeHerida());
		GradoStateSargento unSargento = new GradoStateSargento();
		Assert.assertEquals(4, unSargento.tiempoDeRecuperoDeHerida());				
		
	}
	
	

}
